/**
 * @(#)Attendance.java
 *
 * Attendance application
 *
 * @author
 * @version 1.00 2012/5/4
 */
 import java.awt.*;
 import javax.swing.*;

 
 
public class Attendance extends JFrame
 {
 	AttendanceReportMainScreen m_mainReportUIScreen;

    public static void main(String[] args) {

    	// TODO, add your application code
    	Attendance attendanceSystem = new Attendance();
    	attendanceSystem.start();
    }
    
    private void start()
    {
    	m_mainReportUIScreen = new AttendanceReportMainScreen();
    	m_mainReportUIScreen.startScreen();
    }
    
    
    private void createScreen()
    {
    
    }
    public Attendance()
    {
    	/*super("Report Generation");

    	setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    	Container content=getContentPane();
   	    content.setSize(900,900);
    	setSize(900,900);
	//	content.setSize(400,400);
	//	setLocation(250,60);

		JLabel l1=new JLabel("Select Type of report");
		JLabel l2=new JLabel("Month");
		JLabel l3=new JLabel("Year");
	   	 //	Dimension d=size();
		setLocation(100,100);
    	content.setBackground(Color.lightGray);
    	content.setLayout(new FlowLayout());

        JComboBox jm=new JComboBox();
    	jm.addItem("----Select----");
    	jm.addItem("Leave Details");
    	jm.addItem("Working Hours");
   		content.add(l1);

    	content.add(jm);
    	content.add(l2);

    	content.add(combo_month);
    	content.add(l3);
    	content.add(combo_year);
    	content.add(new JButton("ReportGeneration"));


    	JComboBox combo_month=new JComboBox();


    	for(int i=1;i<=12;i++)
    	{
    		String a=""+i;

    		combo_month.addItem(a);
    	}


    	JComboBox combo_year=new JComboBox();



    	for(int i=2010;i<=2020;i++)
    	{
    		String a=""+i;

    		combo_year.addItem(a);
    	}


    	setVisible(true);

	  	l1.setBounds(100,20,300,40);
    	jm.setBounds(500,20,200,40);
	//	l1.setBounds(0,200,50,30);
	//	combo_month.se
		/*t1.setBounds(350,90,160,30);
		l2.setBounds(250,150,80,30);
		t2.setBounds(350,150,160,30);
		l3.setBounds(250,210,80,30);*/
	//	pack();*/
/*
        JFrame f=new JFrame("New Frame");
       // Container p=f.getContentPane();

     Box buttonBar = Box.createHorizontalBox();
buttonBar.add(Box.createHorizontalGlue());
buttonBar.add(new JButton("ss"));
buttonBar.add(new JButton("sh"));
f.add(buttonBar, BorderLayout.SOUTH);

        f.setBounds(100,100,400,300);
        f.setVisible(true);
*/
    }
}
